﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;

namespace Quản_Lý_Thư_Viện
{
    class ctpnsControl
    {
        private ctpnsDataAccess ctpnsdata = new ctpnsDataAccess();
        public void insertctpns(PhieunhapsachInfo info)
        {
            ctpnsdata.insertctpns(info);
        }
        public void deletectpns(PhieunhapsachInfo info)
        {
            ctpnsdata.deletectpns(info);
        }
        public void deletectpns2(PhieunhapsachInfo info)
        {
            ctpnsdata.deletectpns2(info);
        }
        public DataTable top4sachmoi()
        {
            return ctpnsdata.top4sachmoi();
        }
    }
}
